projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d58885c
)
widget: Don't show widget resizes in the inspector
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 20 Apr 2016 03:32:26 +0000
(23:32 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 20 Apr 2016 03:32:26 +0000
(23:32 -0400)
Avoiding this sort of visual debugging in the inspector
is the main reason we have per-display debug flags now.
gtk/gtkwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwidget.c
b/gtk/gtkwidget.c
index 1e87e10ef9d06de5f9540d12d8ed35d3a55ab4c1..ac86d9dedabd757c2de7e2aa4dfb8b92cfe5d733 100644
(file)
--- a/
gtk/gtkwidget.c
+++ b/
gtk/gtkwidget.c
@@
-5959,7
+5959,7
@@
gtk_widget_size_allocate_with_baseline (GtkWidget *widget,
gtk_widget_push_verify_invariants (widget);
#ifdef G_ENABLE_DEBUG
- if (GTK_D
EBUG_CHECK (
RESIZE))
+ if (GTK_D
ISPLAY_DEBUG_CHECK (gtk_widget_get_display (widget),
RESIZE))
{
priv->highlight_resize = TRUE;
gtk_widget_queue_draw (widget);